<?php

namespace mpend\modules\cms\controllers;

use Yii;
use mpend\components\Controller;
use mpend\modules\cms\models\ChannelArticleSearch;

/**
 * 默认检索相关接口
 * 
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class ChannelController extends Controller {

    public function actionIndex() {
        $model = new ChannelArticleSearch();
        $model->load(Yii::$app->request->getQueryParams(), '');
        return $model->search();
    }

}
